package com.redispro.service;

import com.redispro.dto.Result;
import com.redispro.entity.VoucherOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 李力
 * @since 2022-12-22
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    Result seckillVoucher(Long voucherId);

    Result getResult(Long id, Long voucherId);

    Result getResult2(VoucherOrder voucherOrder);

}
